import Vue from 'vue'
import {
    Message,
    Form,
    FormItem,
    DatePicker,
    Select,
    Option,
    Input,
    Checkbox,
    Button,
    Menu,
    Submenu,
    MenuItem,
    MenuItemGroup,
    Scrollbar,
} from 'element-ui'
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';

Vue.use(Form)
Vue.use(FormItem)
Vue.use(DatePicker)
Vue.use(Select)
Vue.use(Option)
Vue.use(Input)
Vue.use(Checkbox)
Vue.use(Button)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Scrollbar)


Vue.component(CollapseTransition.name, CollapseTransition)
// Vue.prototype.$loading = Loading.service;
// Vue.prototype.$msgbox = MessageBox;
// Vue.prototype.$alert = MessageBox.alert;
// Vue.prototype.$confirm = MessageBox.confirm;
// Vue.prototype.$prompt = MessageBox.prompt;
// Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;
